home *** CD-ROM | disk | FTP | other *** search
- Path: pip.zfe.siemens.de!not-for-mail
- From: wscomp@pip.zfe.siemens.de (Marquart C. Franz)
- Newsgroups: comp.lang.c++
- Subject: Template cast
- Date: 13 Mar 1996 13:48:08 GMT
- Organization: Siemens AG, Neu_Perlach-Munich-Germany-Europe.
- Message-ID: <4i6jmo$rci@salomon.zfe.siemens.de>
- NNTP-Posting-Host: pip.zfe.siemens.de
- X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
-
- Hite<T2> to MyTemplate<T1>.
-
- We have the following problem:
- We got two instantiations of a template <class T> class MyTemplate
- which are MyTemplate<T1> and MyTemplate<T2> with T1 subclass of T2.
- Now we want to cast from MyTemplate<T2> to MyTemplate<T1>.
-
- Any ideas recommended ... Thanx a lot !
-
- thilo.ruf@zfe.siemens.de
-